﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CX.Essential.Domain.溯源管理.屠宰信息
{
    /// <summary>
    /// 屠宰信息
    /// </summary>
    public class SlaughterModel
    {
        /// <summary>
        /// 屠宰id
        /// </summary>
        [Key]
        public int Sid { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? SProductionBatches { get; set; }
        /// <summary>
        /// 到厂均重（公斤）
        /// </summary>
        public decimal Sweight { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime SToTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime STime { get; set; } = DateTime.Now;
        /// <summary>
        /// 相关资料（照片）
        /// </summary>
        public string? SImg { get; set; }


    }
}
